﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace OLAP.Models.Partials
{
    public class Pressreleases
    {
        public long Id { get; set; }
        public DateTime DateTime { get; set; }
        public long DateNumeric { get; set; }
        public string SourceCode { get; set; }
        public int LangId { get; set; }
        public string Message { get; set; }
        public string Title { get; set; }
        public bool Attachment { get; set; }
        public int SourceId { get; set; }
        public DateTime CreatedOn { get; set; }
        public int DisplayOrder { get; set; }
        public bool Published { get; set; }
        public int? MessageTypeId { get; set; }
    }

    public class News
    {
        public Pressreleases Pressrelease
        {
            get;
            set;
        }

        public List<Attachment> Attachments
        {
            get;
            set;
        }
    }
}